Skip to content

[Version 11.0] Feature support for extended nameof scope - #1586

Draft
RexJaeschke wants to merge 6 commits into
draft-v11from
v11-extended-nameof-scope
Draft

RexJaeschke wants to merge 6 commits into
draft-v11from
v11-extended-nameof-scope

Conversation

@RexJaeschke

Copy link
Copy Markdown
Contributor

This is Rex's adaptation of the corresponding MS proposal.

@RexJaeschke RexJaeschke added this to the C# 11 milestone Mar 2, 2026
@RexJaeschke RexJaeschke added type: feature This issue describes a new feature Review: pending Proposal is available for review labels Mar 2, 2026
@RexJaeschke
RexJaeschke marked this pull request as draft March 2, 2026 12:32
@BillWagner
BillWagner force-pushed the v11-extended-nameof-scope branch from 80508ed to 9819a20 Compare May 13, 2026 16:56
@BillWagner
BillWagner force-pushed the v11-extended-nameof-scope branch from 9819a20 to 1ace225 Compare June 24, 2026 20:19
@BillWagner

Copy link
Copy Markdown
Member

An earlier version of this feature is already present on v11-alpha from a prior meeting. Edits made to this PR since then are not yet on v11-alpha; they will land at the next propagation. If you need them on v11-alpha sooner, please open a separate PR targeting v11-alpha.
Thanks!

@BillWagner
BillWagner force-pushed the v11-extended-nameof-scope branch from 1ace225 to 725cd39 Compare July 24, 2026 19:56
@BillWagner
BillWagner force-pushed the v11-extended-nameof-scope branch 4 times, most recently from b831b15 to f1be4ae Compare September 21, 2026 19:13
@BillWagner
BillWagner force-pushed the v11-extended-nameof-scope branch from f1be4ae to 9891817 Compare October 14, 2026 18:11
BillWagner added a commit that referenced this pull request Oct 14, 2026
[Version 11.0] Feature support for extended nameof scope
Authoritative source v11-extended-nameof-scope f1be4ae; reviewed-source replay 9891817.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
RexJaeschke and others added 5 commits November 12, 2026 16:13
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
nameof also can be used with anonymous function parameters.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 21570b74-c6f5-4fc5-ab6d-7546918d6ddb
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
@BillWagner
BillWagner force-pushed the v11-extended-nameof-scope branch from 9891817 to 3f7577c Compare November 12, 2026 23:37
BillWagner added a commit that referenced this pull request Nov 12, 2026
Preserve current validated source 3f7577c in the frozen historical active-feature order, based on finalized predecessor and current owning draft.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 361b9a77-2b4c-45e6-969f-e6785c47f27e
A few contexts where nameof can be used were not updated in the original draft.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review: pending Proposal is available for review type: feature This issue describes a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants